<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>待办事项</title>

    <link rel="stylesheet" type="text/css" href="../../easyui/themes/material/easyui.css">
    <link rel="stylesheet" type="text/css" href="../../easyui/themes/color.css">
    <link rel="stylesheet" type="text/css" href="../../easyui/themes/icon.css">
    <script type="text/javascript" src="../../easyui/jquery.min.js"></script>
    <script type="text/javascript" src="../../easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../../easyui/locale/easyui-lang-zh_CN.js"></script>
    <script src="../../web/JS/common.js"></script>
    <script src="../../web/JS/URLRooter.js"></script>

    <script src="./WaitWork.js"></script>
    <style>
        .labelstyle {
            font-size: 15px;
            color: black;
            text-decoration: none;
            padding: 10px;

        }

        .labelstyleChoose {
            font-size: 15px;
            color: #027DB4;
            text-decoration: none;
            padding: 10px;

        }


        #dg_WorkPlanList .datagrid-header {
            position: absolute;
            visibility: hidden;

        }
    </style>
</head>

<body class="easyui-layout">
    <div data-options="region:'center',iconCls:'',title:'',border:false"
        style="height: 100%;display: flex;flex-direction: column;">
        <!--查询工具栏-->
        <div style="padding:20px 0px 20px 20px;display: flex;flex-direction: column;" id="tb01">
            <div style="text-align:right;margin-right: 100px;margin-top:0px;">
                <!-- <a href="#" onclick="returnPotal()" class="labelstyle" id="btn_sh"
                style="text-decoration:none;margin-top: 20px;"><<<<返回</a> -->
                <a href="#" class="easyui-linkbutton" onclick="returnPotal()" data-options="iconCls:'icon-back'">返回</a>
            </div>
            <div style="flex: 1;">
                <a href="#" onclick="chooseWait('all')" class="labelstyle" id="btn_all"
                    style="text-decoration:none;margin-top: 20px;">全部待办</a>
                <!-- <a href="#" onclick="chooseWait('gd')" class="labelstyle" id="btn_gd"
                    style="text-decoration:none;margin-top: 20px;">工单（3）</a>
                <a href="#" onclick="chooseWait('dd')" class="labelstyle" id="btn_dd"
                    style="text-decoration:none;margin-top: 20px;">订单（3）</a>
                <a href="#" onclick="chooseWait('rb')" class="labelstyle" id="btn_rb"
                    style="text-decoration:none;margin-top: 20px;">日报（4）</a> -->
            </div>
            <div style="flex: 1;text-align: center;">
                <input id="txt_Search" class="easyui-textbox" data-options="iconCls:'',prompt:'模糊搜索条件',plain:false"
                    style="width:300px">
                <a id="btn" href="#" class="easyui-linkbutton" onclick="InitDataWait()"
                    data-options="iconCls:'icon-search'">查询</a>
                <input style="font-size: 14px;margin-left:30px" type="checkbox" name="search" onclick="chooseSearch()"
                    value="1" id="ck_search" />
                <label style="font-size: 14px;margin-right:5px" for="ck_search">高级检索</label>
            </div>
            <div style="flex: 1;display: none;text-align: center;padding: 20px;" id="div_Search">
                <input id="db_Start" type="text" class="easyui-datebox" style="width:300px;"
                    data-options="label:'日期：',labelWidth:100,labelAlign:'right'"> </input>
                <input id="db_End" type="text" class="easyui-datebox" style="width:250px;"
                    data-options="label:'至',labelWidth:30,labelAlign:'right'"> </input>
                <a id=" btn_reload" href="#" class="easyui-linkbutton" onclick="ReInitDataWait()"
                    data-options="iconCls:'icon-reload'">重置</a>
            </div>
        </div>
        <!--数据显示-->
        <table id="dg_WaitList"
            data-options="singleSelect:true,toolbar:'#tb01',border:false,rownumbers:true,fitColumns:true,fit:true,nowrap:true">
            <thead>
                <tr>
                    <th data-options="field:'description',align:'center'">待办事项
                    </th>
                    <th data-options="field:'worktype',width:50,align:'center'">类型</th>
                    <th data-options="field:'custdept',width:50,align:'center'">发起部门</th>
                    <th data-options="field:'reportedby',width:60,align:'center'">发起人</th>
                    <th data-options="field:'reportdate',width:80,align:'center'">发起日期</th>
                    <th data-options="field:'q',width:100,align:'center'">备注</th>
                    <!-- <th data-options="field:'id',width:100,align:'center',formatter:formaterop">操作</th> -->
                </tr>
            </thead>
            <tfoot>
                <div id="dg_pagination"
                  style="background:#efefef;border:1px solid #ccc;position: absolute;bottom: 0;z-index: 10;width: 100%;"></div>
              </tfoot>
        </table>
    </div>
</body>

</html>